package admin

import (
	"github.com/gin-gonic/gin"
	"net/http"
)

type NewsController struct {
	// NewsController 继承 BaseController
	BaseController
}

func (c *NewsController) Index(ctx *gin.Context) {
	c.Success(ctx)
}

func (c *NewsController) GetNews(ctx *gin.Context) {
	ctx.String(http.StatusOK, "新闻首页")
}
